.class public abstract Lcom/google/android/gms/internal/p;
.super Lcom/google/android/gms/internal/s;


# instance fields
.field private d:Landroid/os/Handler;

.field protected final e:Lcom/google/android/gms/common/util/b;

.field private f:J

.field private g:Ljava/lang/Runnable;

.field protected h:Z


# direct methods
.method public constructor <init>(Ljava/lang/String;Lcom/google/android/gms/common/util/b;Ljava/lang/String;Ljava/lang/String;J)V
    .locals 0

    invoke-direct {p0, p1, p3, p4}, Lcom/google/android/gms/internal/s;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance p1, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object p3

    invoke-direct {p1, p3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    iput-object p1, p0, Lcom/google/android/gms/internal/p;->d:Landroid/os/Handler;

    iput-object p2, p0, Lcom/google/android/gms/internal/p;->e:Lcom/google/android/gms/common/util/b;

    new-instance p1, Lcom/google/android/gms/internal/r;

    const/4 p2, 0x0

    invoke-direct {p1, p0, p2}, Lcom/google/android/gms/internal/r;-><init>(Lcom/google/android/gms/internal/p;Lcom/google/android/gms/internal/q;)V

    iput-object p1, p0, Lcom/google/android/gms/internal/p;->g:Ljava/lang/Runnable;

    const-wide/16 p1, 0x3e8

    iput-wide p1, p0, Lcom/google/android/gms/internal/p;->f:J

    const/4 p1, 0x0

    invoke-virtual {p0, p1}, Lcom/google/android/gms/internal/p;->a(Z)V

    return-void
.end method


# virtual methods
.method protected final a(Z)V
    .locals 3

    iget-boolean v0, p0, Lcom/google/android/gms/internal/p;->h:Z

    if-eq v0, p1, :cond_1

    iput-boolean p1, p0, Lcom/google/android/gms/internal/p;->h:Z

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/google/android/gms/internal/p;->d:Landroid/os/Handler;

    iget-object v0, p0, Lcom/google/android/gms/internal/p;->g:Ljava/lang/Runnable;

    iget-wide v1, p0, Lcom/google/android/gms/internal/p;->f:J

    invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void

    :cond_0
    iget-object p1, p0, Lcom/google/android/gms/internal/p;->d:Landroid/os/Handler;

    iget-object v0, p0, Lcom/google/android/gms/internal/p;->g:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    :cond_1
    return-void
.end method

.method protected abstract a(J)Z
.end method

.method public b()V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/p;->a(Z)V

    return-void
.end method
